package com.xxx.car.service;

import com.github.pagehelper.PageInfo;
import com.xxx.car.entity.TbBanner;
import com.xxx.car.entity.vo.request.ReqBannerAdminQuery;
import com.xxx.common.base.vo.APIResponse;

import java.util.List;

/**
 * Created by yxj on 17/6/19.
 */
public interface BannerService {

	APIResponse queryBannerListByApp();

	PageInfo<TbBanner> queryBannerListByAdmin(ReqBannerAdminQuery query);

	APIResponse addBanner(TbBanner tbBanner);

	TbBanner queryBannerDetailById(Integer id);

	APIResponse updateBanner(TbBanner tbBanner);

}
